 |
|
|
|
|
Common Dialog Control |
|
|
|
| |
 |
|
|
|
|
Common Properties of the Common Dialog Control |
|
|
|
| |
 |
|
|
|
|
File Open/Save Dialog |
|
|
|
| |
 |
|
|
|
|
Print Dialog |
|
|
|
| |
 |
|
|
|
|
Font Dialog Box |
|
|
|
| |
 |
|
|
|
|
Color Dialog Box |
|
|
|
| |
 |
|
|
|
|
Making Your Own Dialog Box |
|
|
|
| |
 |
|
|
|
|
Creating an About Box |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Review Questions |
|
|
|
| |
 |
|
|
|
|
Exercises |
|
|
|
| |
| |
 |
|
|
|
|
Getting at Data |
|
|
|
| |
 |
|
|
|
|
The Jet Engine |
|
|
|
| |
 |
|
|
|
|
The Remote Data Objects (RDO) Engine |
|
|
|
| |
 |
|
|
|
|
ActiveX Data Objects |
|
|
|
| |
 |
|
|
|
|
Universal Data Access |
|
|
|
| |
 |
|
|
|
|
OLE DB |
|
|
|
| |
 |
|
|
|
|
ActiveX Data Objects |
|
|
|
| |
 |
|
|
|
|
ADO Features |
|
|
|
| |
 |
|
|
|
|
ADO Object Hierarchy |
|
|
|
| |
 |
|
|
|
|
Referencing ADO |
|
|
|
| |
 |
|
|
|
|
Service Providers for OLE DB |
|
|
|
| |
 |
|
|
|
|
Native Providers |
|
|
|
| |
 |
|
|
|
|
ODBC Provider |
|
|
|
| |
 |
|
|
|
|
The ADO Data Control |
|
|
|
| |
 |
|
|
|
|
Moving Through Records with the Data Control |
|
|
|
| |
 |
|
|
|
|
Recordsets |
|
|
|
| |
 |
|
|
|
|
Cursor Types |
|
|
|
| |
 |
|
|
|
|
ADO Data Control Properties |
|
|
|
| |
 |
|
|
|
|
Using the Data Control |
|
|
|
| |
 |
|
|
|
|
Using the Property Pages |
|
|
|
| |
 |
|
|
|
|
Setting the Text Boxes to Display Data |
|
|
|
| |
 |
|
|
|
|
Editing Records |
|
|
|
| |
 |
|
|
|
|
Adding Records |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Review Questions |
|
|
|
| |
|
|
|
|
|
13
Data Control Programming |
|
|
|
| |
 |
|
|
|
|
The Recordset Property |
|
|
|
| |
 |
|
|
|
|
Properties of the Recordset Object |
|
|
|
| |
 |
|
|
|
|
Check for Beginning and End of File |
|
|
|
| |
 |
|
|
|
|
Methods of the Recordset Object |
|
|
|
| |
 |
|
|
|
|
Events of the ADO Data Control |
|
|
|
| |
 |
|
|
|
|
Order of Events |
|
|
|
| |
 |
|
|
|
|
Modifying Data Programmatically |
|
|
|
| |
 |
|
|
|
|
Adding Records |
|
|
|
| |
 |
|
|
|
|
Saving the Data |
|
|
|
| |
 |
|
|
|
|
Detecting Changes in Data |
|
|
|
| |
 |
|
|
|
|
The Change Event |
|
|
|
| |
 |
|
|
|
|
The TextChanged() Procedure |
|
|
|
| |
 |
|
|
|
|
Toggling the Command Buttons |
|
|
|
| |
 |
|
|
|
|
Deleting Data |
|
|
|
| |
 |
|
|
|
|
Canceling Changes |
|
|
|
| |
 |
|
|
|
|
Validating Data |
|
|
|
| |
 |
|
|
|
|
Data Control Error Handling |
|
|
|
| |
 |
|
|
|
|
Why Do Errors Happen? |
|
|
|
| |
 |
|
|
|
|
Error Event |
|
|
|
| |
 |
|
|
|
|
Unloading the Form on an Error |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Review Questions |
|
|
|
| |